﻿namespace FZRD
{
    public class SensorAlarmEntity
    {
        public int ID { get; set; }

        public long AlarmTime { get; set; }

        public string AlarmtDateTime { get; set; }

        public int SensorID { get; set; }

        public string SensorName { get; set; }

        public int ChannelIndex { get; set; }

        public int SensorIndex { get; set; }

        public double WaveLength { get; set; }

        public double Temperature { get; set; }

        public string Description { get; set; }

        public string Email { get; set; }

        public string SMS { get; set; }

        public override string ToString()
        {
            return ID + ", " + AlarmTime + ", " + AlarmtDateTime + ", " + SensorID + ", " + SensorName + ", " + ChannelIndex + ", " + SensorIndex + ", " + WaveLength + ", " + Temperature + ", " + Description
                      + ", " + Email + ", " + SMS;
        }
    }
}
